package allocator

import (
	"zstackgo/spring"
)

func init() {
	o := new(LeastVmPreferredHostAllocatorStrategyFactory)
	spring.Register(o, "LeastVmPreferredHostAllocatorStrategyFactory", []*spring.PluginExtension{
		{
			Interface: "header.Component",
		},
		{
			Interface: "header.allocator.HostAllocatorStrategyFactory",
		},
		{
			Interface: "header.host.HostAllocateExtensionPoint",
		},
	})
}

type LeastVmPreferredHostAllocatorStrategyFactory struct {
}
